const isCheckData = [
  { label: "禁用", value: "0", type: "isCheck" },
  { label: "启用", value: "1", type: "isCheck" },
];

const fundDic = (type: any, value: any)=> {
  var data = isCheckData.find(
    (item: { [x: string]: any; type: string }) =>
      item.type == type && item.value == value
  );
  return data.label;
}

export default { 
  isCheckData, 
  fundDic,
};

